home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / FL_addinschema_xsd_112098________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2006-10-26  |  4KB  |  77 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- This schema is used by the Add-in manager to validate xml files that describe an add-in. -->
  3. <xs:schema targetNamespace="http://schemas.microsoft.com/AutomationExtensibility" 
  4.            xmlns='http://schemas.microsoft.com/AutomationExtensibility' 
  5.            xmlns:xs="http://www.w3.org/2001/XMLSchema"
  6.            attributeFormDefault="unqualified" 
  7.            elementFormDefault="qualified" >
  8.  
  9.     <xs:simpleType name="non-empty-string">
  10.         <xs:restriction base="xs:string">
  11.             <xs:minLength value="1" />
  12.         </xs:restriction>
  13.     </xs:simpleType>
  14.  
  15.     <xs:element name="Extensibility">
  16.         <xs:complexType>
  17.             <xs:sequence>
  18.             <xs:choice maxOccurs="unbounded">
  19.                 <xs:element name="HostApplication" minOccurs="0" maxOccurs="unbounded">
  20.                     <xs:complexType>
  21.                         <xs:sequence>
  22.                             <xs:choice maxOccurs="unbounded">
  23.                                 <xs:element name="Name" type="xs:string"/>
  24.                                 <xs:element name="Version" type="xs:string"/>
  25.                             </xs:choice>
  26.                         </xs:sequence>
  27.                     </xs:complexType>
  28.                 </xs:element>
  29.  
  30.                 <xs:element name="Addin" minOccurs="0" maxOccurs="unbounded">
  31.                     <xs:complexType>
  32.                         <xs:sequence>
  33.                             <xs:choice maxOccurs="unbounded">
  34.                                 <xs:element name="FriendlyName" type="xs:string" minOccurs="0" maxOccurs="1" />
  35.                                 <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" />
  36.                                 <xs:element name="AboutBoxDetails" type="xs:string" minOccurs="0" maxOccurs="1" />
  37.                                 <xs:element name="AboutIconData" type="xs:string" minOccurs="0" maxOccurs="1" />
  38.                                 <xs:element name="Assembly" type="xs:string" minOccurs="1" maxOccurs="1"/>
  39.                                 <xs:element name="FullClassName" type="xs:string" minOccurs="1" maxOccurs="1"/>
  40.                                 <xs:element name="LoadBehavior" type="xs:integer" minOccurs="0" maxOccurs="1" />
  41.                                 <xs:element name="CommandPreload" type="xs:integer" minOccurs="0" maxOccurs="1" /> 
  42.                                 <xs:element name="CommandLineSafe" type="xs:integer" minOccurs="0" maxOccurs="1" /> 
  43.                             </xs:choice>
  44.                         </xs:sequence>
  45.                     </xs:complexType>
  46.                 </xs:element>
  47.                 
  48.                 <xs:element name="ToolsOptionsPage" minOccurs="0" maxOccurs="1">
  49.                     <xs:complexType>
  50.                         <xs:sequence>
  51.                             <xs:element name="Category" minOccurs="0" maxOccurs="unbounded">
  52.                                 <xs:complexType>
  53.                                     <xs:sequence>
  54.                                         <xs:element name="SubCategory" minOccurs="1" maxOccurs="unbounded">
  55.                                             <xs:complexType>
  56.                                                 <xs:sequence>
  57.                                                     <xs:choice maxOccurs="unbounded">
  58.                                                         <xs:element name="Assembly" type="xs:string"/>
  59.                                                         <xs:element name="FullClassName" type="xs:string"/>
  60.                                                     </xs:choice>
  61.                                                 </xs:sequence>
  62.                                                 <xs:attribute name="Name" type="xs:string" use="required"/>
  63.                                             </xs:complexType>
  64.                                         </xs:element>
  65.                                     </xs:sequence>
  66.                                     <xs:attribute name="Name" type="xs:string" use="required"/>
  67.                                 </xs:complexType>
  68.                             </xs:element>
  69.                         </xs:sequence>
  70.                     </xs:complexType>
  71.                 </xs:element>
  72.                 </xs:choice>
  73.             </xs:sequence>
  74.         </xs:complexType>
  75.     </xs:element>
  76.  
  77. </xs:schema>